<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 160 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */
 .style160p163{position:absolute;left:274px;top:164px}

 /* Position Styles */
 .ts160p0{position:absolute;left:106px;top:97px;}
 .ts160p1{position:absolute;left:352px;top:97px;}
 .ts160p3{position:absolute;left:665px;top:97px;}
 .ts160p7{position:absolute;left:106px;top:113px;}
 .ts160p8{position:absolute;left:706px;top:1026px;}
 .ts160p9{position:absolute;left:331px;top:1044px;}
 .ts160p13{position:absolute;left:376px;top:145px;}
 .ts160p15{position:absolute;left:562px;top:443px;}
 .ts160p16{position:absolute;left:106px;top:458px;}
 .ts160p17{position:absolute;left:106px;top:477px;}
 .ts160p20{position:absolute;left:106px;top:495px;}
 .ts160p22{position:absolute;left:106px;top:514px;}
 .ts160p23{position:absolute;left:106px;top:532px;}
 .ts160p25{position:absolute;left:106px;top:550px;}
 .ts160p26{position:absolute;left:106px;top:569px;}
 .ts160p30{position:absolute;left:106px;top:587px;}
 .ts160p31{position:absolute;left:106px;top:606px;}
 .ts160p32{position:absolute;left:106px;top:624px;}
 .ts160p34{position:absolute;left:106px;top:642px;}
 .ts160p36{position:absolute;left:106px;top:661px;}
 .ts160p37{position:absolute;left:106px;top:680px;}
 .ts160p39{position:absolute;left:106px;top:698px;}
 .ts160p40{position:absolute;left:106px;top:716px;}
 .ts160p42{position:absolute;left:106px;top:735px;}
 .ts160p43{position:absolute;left:106px;top:753px;}
 .ts160p45{position:absolute;left:106px;top:771px;}
 .ts160p47{position:absolute;left:106px;top:789px;}
 .ts160p49{position:absolute;left:106px;top:807px;}
 .ts160p50{position:absolute;left:106px;top:825px;}
 .ts160p53{position:absolute;left:106px;top:843px;}
 .ts160p55{position:absolute;left:106px;top:861px;}
 .ts160p57{position:absolute;left:106px;top:880px;}
 .ts160p59{position:absolute;left:106px;top:898px;}
 .ts160p61{position:absolute;left:106px;top:916px;}
 .ts160p63{position:absolute;left:106px;top:934px;}
 .ts160p65{position:absolute;left:106px;top:952px;}
 .ts160p67{position:absolute;left:106px;top:970px;}
 .ts160p69{position:absolute;left:106px;top:988px;}

 /* Font Styles */
 .ft0p160{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p160{font-weight:normal;}
 .ft2p160{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p160{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p160{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p160{font-style:normal;font-weight:bold;font-size:16px;font-family:helvetica,arial,sans-serif;color:#000000;}
 .ft6p160{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft7p160{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground160{position:absolute;left:97px;top:678px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index159.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;160 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index161.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground160><img src="./background160.png" width="633" height="377" border="0" alt=""></div>
<div class=style160p163><img src="./image160_163.png" width="288" height="294" border="0" alt=""></DIV>
<div class=ts160p0><span class="ft0p160"> </span></div>
<div class=ts160p1><span class="ft0p160">Gravitybox Schedule Primer<span class="ft1p160"> </span></span></div>
<div class=ts160p3><span class="ft0p160">Page 158&nbsp; </span></div>
<div class=ts160p7><span class="ft2p160"> </span></div>
<div class=ts160p8><span class="ft3p160"> </span></div>
<div class=ts160p9><span class="ft4p160">1998&#45;2004 Gravitybox Software LLC<span class="ft3p160"> </span></span></div>
<div class=ts160p13><span class="ft5p160">Figure 16.5 </span></div>
<div class=ts160p15><span class="ft6p160"> </span></div>
<div class=ts160p16><span class="ft6p160"> </span></div>
<div class=ts160p17><span class="ft6p160">Once added, the user may double&#45;click on a task to bring up its property box. It allows </span></div>
<div class=ts160p20><span class="ft6p160">the user complete control over all aspect of the task. In the GbOrganize example, </span></div>
<div class=ts160p22><span class="ft6p160">columns may be hidden. This means that not all information is necessarily visible. The </span></div>
<div class=ts160p23><span class="ft6p160">property box gives the user a way to view all properties at one time. </span></div>
<div class=ts160p25><span class="ft6p160"> </span></div>
<div class=ts160p26><span class="ft6p160">The property box is not a built&#45;in form. You must build this screen. If you wish to include </span></div>
<div class=ts160p30><span class="ft6p160">it in your application, it must be built. The form has text boxes and such on it, but how is </span></div>
<div class=ts160p31><span class="ft6p160">it loaded? Simple, we define a new property of the form called Task of type CTaskEl. </span></div>
<div class=ts160p32><span class="ft6p160">We then set the property before we show the form. All of the controls on the form are </span></div>
<div class=ts160p34><span class="ft6p160">setup by the property set method. </span></div>
<div class=ts160p36><span class="ft6p160"> </span></div>
<div class=ts160p37><span class="ft7p160">Option Explicit </span></div>
<div class=ts160p39><span class="ft7p160"> </span></div>
<div class=ts160p40><span class="ft7p160">Dim m_Task As OrganizeAPI.CTaskEl </span></div>
<div class=ts160p42><span class="ft7p160"> </span></div>
<div class=ts160p43><span class="ft7p160">Public Property Get Task() As OrganizeAPI.CTaskEl&nbsp;&nbsp; </span></div>
<div class=ts160p45><span class="ft7p160">&nbsp; Set Task = m_Task </span></div>
<div class=ts160p47><span class="ft7p160">End Property </span></div>
<div class=ts160p49><span class="ft7p160"> </span></div>
<div class=ts160p50><span class="ft7p160">Public Property Set Task(ByVal Value As OrganizeAPI.CTaskEl) </span></div>
<div class=ts160p53><span class="ft7p160">&nbsp;&nbsp; </span></div>
<div class=ts160p55><span class="ft7p160">&nbsp; Set m_Task = Value </span></div>
<div class=ts160p57><span class="ft7p160">&nbsp;&nbsp; </span></div>
<div class=ts160p59><span class="ft7p160">&nbsp; 'Setup the screen </span></div>
<div class=ts160p61><span class="ft7p160">&nbsp; txtSubject.Text = Value.Subject </span></div>
<div class=ts160p63><span class="ft7p160">&nbsp; If Value.StartDate = 0 Then </span></div>
<div class=ts160p65><span class="ft7p160">&nbsp;&nbsp;&nbsp; datStartDate.Value = Now </span></div>
<div class=ts160p67><span class="ft7p160">&nbsp; Else </span></div>
<div class=ts160p69><span class="ft7p160">&nbsp;&nbsp;&nbsp; datStartDate.Value = Value.StartDate </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
